<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>俄罗斯方块</title>
    <link rel="stylesheet" href="./index.css">
</head>
<body>
    <script src="./index.js" defer></script>
    <h1>俄罗斯方块</h1>
    <div id="wrapper">
        <div class="left">
            <div id="game-wrapper"></div>
        </div>
        <div class="right">
            <div class="next-square">
                下一块
                <div class="next-wrapper"></div>
            </div>
            <div class="score-wrapper">
                <div>分数：<span class="score">0</span></div>
            </div>
            <div class="options">
                <div class="button" operate='start' onclick="game.bootStrap()">开始</div>
                <div class="button" operate='pauce' onclick="game.pauce()">暂停</div>
                <div class="button" operate='continue' onclick="game.continue()">继续</div>
                <div class="button" operate='restart' onclick="game.restart()">重新开始</div>
            </div>

            <div class="setting">
                设置下落速度
                <div class="setting-wrapper">
                    <button class="down" onclick="game.changeSpeed('down')"><</button>
                    <div class="speed">2</div>
                    <button class="up" onclick="game.changeSpeed('up')">></button>
            </div>
        </div>
    </div>
</body>
</html>